package com.song.mapper;

import com.song.domain.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
    Customer selectById(@Param("id") Long id);
    List<Customer> list(@Param("offset") int offset, @Param("limit") int limit);
    int count();
    int insert(Customer customer);
    int update(Customer customer);
    int delete(@Param("id") Long id);
}